package com.ucode.crm.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.ucode.crm.mode.CrmSetting;

public interface CrmSettingMapper {

    public int insert(CrmSetting setting);
    
    public int update(CrmSetting setting);
    
    public int updateStatuz(@Param("id")Long id,@Param("statuz")Integer statuz);
    
    public CrmSetting findById(Long id);
    
    public List<CrmSetting> findByIds(List<Long> ids);
    
    public List<CrmSetting> findList(@Param("fieldName")String fieldName,@Param("statuz")Integer statuz);
    
}
